package com.ys.vo;

import java.util.HashMap;

import org.springframework.ui.Model;

public class W extends HashMap<String, Object> {
    private static final long serialVersionUID = 1L;

    public static String error(Model model, String errormsg) {
		model.addAttribute("errormsg", errormsg);
		return "sys/common/error";
    }

    @Override
    public W put(String key, Object value) {
        super.put(key, value);
        return this;
    }
}
